<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

<title>奢华</title>
<link href="css/me1.css" rel="stylesheet" type="text/css" />
<link href="css/kh-index.css" rel="stylesheet" type="text/css" />

<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="Js/string.js"></script>
<script type="text/javascript" src="Js/default.js"></script>
</head>

<body>
<header>
    <div class="box head-box">
        <img class="index-img" src="images/logo1.jpg" alt="奢华国际钻石集团"/>
        <span id="heid" style="background:url(images/anniu.png);"></span>
        <div class="head">
            {include file="nav.html"}
       </div>
   </div>
</header>

<div class="me_home">
	<div class="me_gray">
    	<span id="left_hied"></span>
		<div class="me_let">
        <div>您好！欢迎进入在线库存中心</div>
			{include file="me_nav.html"}
		</div>
		
		<div class="me_Ys">
			<div class="me_foe">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="me_log">
					<tr><th colspan="4" class="te">订单详情</th></tr>
					<tr>
						<th width="15%">订单编号</th>
						<td>{$orders.orders_id}</td>
						<th width="15%">订单状态</th>
						<td>{$status[$orders.status]}</td>
					</tr>
					<tr>
						<th>购买人</th>
						<td>{$orders.account}</td>
						<th>下单时间</th>
						<td>{$orders.time|date_format:"%Y-%m-%d %H:%M:%S"}</td>
					</tr>
					<tr>
						<th>业务</th>
						<td>{$orders.salesman_name}</td>
						<th>客服</th>
						<td>{$orders.service_name}</td>
					</tr>
					<tr>
						<th>定金</th>
						<td>{if $orders.earnest}{$orders.earnest} 元{/if}</td>
						<th>总价</th>
						<td>{if $orders.price}{$orders.price} 元{/if}</td>
					</tr>
					<tr>
						<th>订单收到的钱</th>
						<td>{if $orders.gotten_money}{$orders.gotten_money} 元{/if}</td>
						<th>物流</th>
						<td>{$orders.outers}</td>
					</tr>
					<tr>
						<th>快递类型</th>
						<td>{$orders.express_type}</td>
						<th>快递单号</th>
						<td>{$orders.express_ID}</td>
					</tr>
					<tr>
						<th>备注</th>
						<td colspan="3">{$orders.remark}</td>
					</tr>
					<tr>
						<td colspan="4">
							<table width="100%" border="0" cellspacing="1" cellpadding="0" class="cers">
								<tr>
									<th>产品编号</th>
									<th>形状</th>
									<th>重量</th>
									<th>颜色</th>
									<th>荧光</th>
									<th>证书</th>
									<th>数量</th>
									<th>实际售价</th>
									<th>到货情况</th>
									<th>详情</th>
								</tr>
								{foreach item=pso from=$product}
								<tr align="center">
									<td>{$pso.info.ProID}</td>
									{if $pso.status == 'C'}
									<td colspan="8" style="color:#F00">此产品已取消</td>
									{else}
									<td>{$shape[$pso.info.shape]}</td>
									<td>{$pso.info.weight}</td>
									<td>{$pso.info.color}</td>
									<td>{$pso.info.Fent_Isity}</td>
									<td>{Goto_diploma diploma=$pso.info.diploma weight=$pso.info.weight NO=$pso.info.diplomaNO show=$pso.info.diploma}</td>
									<td>{$pso.amount}</td>
									<td>{$pso.price}</td>
									<td>{if $pso.is_arrival == 'Y'}到货{else}未到{/if}</td>
									{/if}
									<td><a href="javascript:;" onclick="show_detail(this,'{$pso.id}',10,false,'me','product_detail' , true)">查看</a></td>
								</tr>
								{foreachelse}
								<tr><td colspan="10" class="else">当前订单没有产品</td></tr>
								{/foreach}
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="4">
							<table width="100%" border="0" cellspacing="1" cellpadding="0" class="cers">
							<tr><th colspan="3">订单日志</th></tr>
								<tr align="center">
									<td width="10%">操作人</td>
									<td width="15%">时间</td>
									<td>操作</td>
								</tr>
								{foreach item=pso from=$log}
								<tr align="center">
									<td>{$pso.update_name}</td>
									<td>{$pso.time|date_format:"%Y-%m-%d %H:%M:%S"}</td>
									<td style="text-align:left">{$pso.info}</td>
								</tr>
								{/foreach}
							</table>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<i class="clear"></i>
	</div>

</div>
<footer>
    {include file="foot.html"}
</footer>
<script type="text/javascript" src="Js/hk.js"></script>
</body>
</html>
